package com.design.facade;

import java.util.concurrent.TimeUnit;

public class Main {
    public static void main(String[] args) {
        HomeTheaterScene homeTheaterScene = new HomeTheaterScene();
        homeTheaterScene.oneKeyOn();
        try {
            TimeUnit.SECONDS.sleep(5);
        } catch (InterruptedException e) {
            System.out.println("线程休眠错误");
        }
        homeTheaterScene.oneKeyOff();
    }
}
